package com.common.springbootcommonmessage.mapper;

import com.common.springbootcommonmessage.model.CommonAutopartOrderitem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommonAutopartOrderitemMapper {
    int deleteByPrimaryKey(Integer orderItemID);

    int insert(CommonAutopartOrderitem record);

    int insertSelective(CommonAutopartOrderitem record);

    CommonAutopartOrderitem selectByPrimaryKey(Integer orderItemID);

    int updateByPrimaryKeySelective(CommonAutopartOrderitem record);

    int updateByPrimaryKey(CommonAutopartOrderitem record);

    List<CommonAutopartOrderitem> findAllByOrderID(Integer orderID);
}